
/**
 *  头文件说明
 *  1、所有app定义枚举类型
 */


/**
 本地数据操作类型

 - ZJLocalDataManagerDatabaseOperationNone:                     无操作
 - ZJLocalDataManagerDatabaseOperationAdd:                      新增
 - ZJLocalDataManagerDatabaseOperationDel:                      删除
 - ZJLocalDataManagerDatabaseOperationUpdate:                   修改
 - ZJLocalDataManagerDatabaseOperationQuery:                    查询
 */
typedef NS_ENUM(NSUInteger, ZJLocalDataManagerDatabaseOperationType) {
    ZJLocalDataManagerDatabaseOperationNone,
    ZJLocalDataManagerDatabaseOperationAdd,
    ZJLocalDataManagerDatabaseOperationDel,
    ZJLocalDataManagerDatabaseOperationUpdate,
    ZJLocalDataManagerDatabaseOperationQuery,
};

/**
 网络请求方式

 - ZJProjectNetRequestNone:                                     无方式（默认为POST请求）
 - ZJProjectNetRequestPost:                                     POST请求
 - ZJProjectNetRequestGet:                                      GET请求
 */
typedef NS_ENUM(NSUInteger, ZJProjectNetRequestType) {
    ZJProjectNetRequestNone,
    ZJProjectNetRequestPost,
    ZJProjectNetRequestGet,
};

/**
 网络请求失败错误状态

 - ZJProjectNetRequestErrorDefault:                             默认状态
 - ZJProjectNetRequestErrorTimeOut:                             连接超时
 - ZJProjectNetRequestErrorNoServer:                            无法与服务器建立连接
 - ZJProjectNetRequestErrorNoNetwork:                           网络不给力，请检查网络
 */
typedef NS_ENUM(NSUInteger, ZJProjectNetRequestErrorType) {
    ZJProjectNetRequestErrorDefault                         = -1001,
    ZJProjectNetRequestErrorTimeOut                         = -1002,
    ZJProjectNetRequestErrorNoServer                        = -1003,
    ZJProjectNetRequestErrorNoNetwork                       = -1004,
};

/**
 项目视图状态

 - ZJProjectViewStatusDefault:                                  默认状态
 - ZJProjectViewStatusLoading:                                  数据加载中
 - ZJProjectViewStatusNoData:                                   无数据
 - ZJProjectViewStatusBadRequest:                               请求失败
 */
typedef NS_ENUM(NSUInteger, ZJProjectViewStatusType) {
    ZJProjectViewStatusDefault,
    ZJProjectViewStatusLoading,
    ZJProjectViewStatusNoData,
    ZJProjectViewStatusBadRequest,
};

/**
 项目加载图片样式

 - ZJProjectLoadImageDefault:                                   默认（直接加载原图）
 - ZJProjectLoadImageFillet:                                    图片圆角化
 */
typedef NS_ENUM(NSUInteger, ZJProjectLoadImageType) {
    ZJProjectLoadImageDefault,
    ZJProjectLoadImageFillet,
};

/**
 项目加载网络图片URLString
 
 - ZJProjectImageURLStringDefault:                              默认（原图）
 - ZJProjectImageURLStringList:                                 列表用小图
 - ZJProjectImageURLStringMid:                                  详情展示中图
 - ZJProjectImageURLStringLarge:                                点击大图
 */
typedef NS_ENUM(NSUInteger, ZJProjectImageURLStringType) {
    ZJProjectImageURLStringDefault,
    ZJProjectImageURLStringList,
    ZJProjectImageURLStringMid,
    ZJProjectImageURLStringLarge,
};
